package com.kriss.favorite.common;

import java.util.List;

public interface IBaseDao<T> {

	 public  T save(T t) throws Exception;
	 
	 public  T udpate(T t) throws Exception;
	 
	 public  T saveOrupdate(T t) throws Exception;
	 
	 
	 public  void delete(T t) throws Exception;
	 
	 public List<T>  findByHql(String hql,Object... values) throws Exception;
	  
}
